﻿@model MusicHouse.Models.Usuario
@using Microsoft.Web.Helpers

@using (Html.BeginForm())
{                
    
    <p>@Html.ValidationSummary()@ViewBag.MensagemConfirmacao</p>
    
    <h3 class="fieldset-title">Login</h3>
    <fieldset >
        <div class="grid_12">
        <p><label>E-mail: <em class="form-req">*</em></label></p>
		<p>
            @Html.TextBoxFor(m => m.LoginEmail, new { id = "tbLoginEmail", maxlength = "50", Class = "form_field_9" })            
		</p>
        </div>
        <div class="grid_6">
		<p><label>Password: <em class="form-req">*</em></label></p>
        <p>
			@Html.PasswordFor(m => m.Password, new { id = "tbPassword", maxlength = "12", Class = "form_field_8" })
		</p>
        </div>
        <div class="grid_6">
		<p><label>Confirmação: <em class="form-req">*</em></label></p>
        <p>
			@Html.PasswordFor(m => m.PasswordCompare, new { id = "tbPasswordCompare", maxlength = "12", Class = "form_field_8" })
		</p>
        </div>
        <p>&nbsp;</p>
    </fieldset>
    
    <h3 class="fieldset-title">Dados Pessoais</h3>
    <fieldset>
        <div class="grid_12">
		<p><label>Nome: <em class="form-req">*</em></label></p>
        <p>
			@Html.TextBoxFor(m => m.Nome, new { id = "tbNome", maxlength = "100", Class = "form_field_9" })
		</p>
        </div>
        <div class="grid_6">
        <p><label>Cpf: </label></p>
        <p>
			@Html.TextBoxFor(m => m.Cpf, new { id = "tbCpf", maxlength = "11", Class = "form_field_8" })
            @Html.ValidationMessageFor(m => m.Cpf)
		</p>
        </div>
        <div class="grid_6">
        <p><label>Identidade/Rg: </label></p>
        <p>
			@Html.TextBoxFor(m => m.Rg, new { id = "tbRg", maxlength = "45", Class = "form_field_8" })
            @Html.ValidationMessageFor(m => m.Rg)
		</p>
        </div>
        <div class="grid_12">
        <p class="notice check">
			@Html.CheckBoxFor(m => m.ReceberNovidades, new { id = "tbReceberNovidades", Class = "check" }) Receber novidades por E-mail
            @Html.ValidationMessageFor(m => m.ReceberNovidades)
		</p>
        </div>
        <p>&nbsp;</p>
    </fieldset>
    
    <h3 class="fieldset-title">Contato</h3>
    <fieldset>        
        <div class="grid_6">
		<p><label>Endereço: </label></p>
        <p>
			@Html.TextBoxFor(m => m.Endereco, new { id = "tbEndereco", maxlength = "200", Class = "form_field_8" })
            @Html.ValidationMessageFor(m => m.Endereco)
		</p>
        </div>
        <div class="grid_6">
		<p><label>Bairro: </label></p>
        <p>
			@Html.TextBoxFor(m => m.Bairro, new { id = "tbBairro", maxlength = "100", Class = "form_field_8" })
            @Html.ValidationMessageFor(m => m.Bairro)
		</p>
        </div>
        <div class="grid_6">
		<p><label>Cidade: </label></p>
        <p>
			@Html.TextBoxFor(m => m.Cidade, new { id = "tbCidade", maxlength = "100", Class = "form_field_8" })
            @Html.ValidationMessageFor(m => m.Cidade)
		</p>
        </div>
        <div class="grid_6">
		<p><label>Uf: </label></p>
        <p>
			@Html.DropDownList("IdUf", (IEnumerable<SelectListItem>)ViewBag.IdUf, new { Class = "form_field_8" })
            @Html.ValidationMessageFor(m => m.IdUf)
		</p>
        </div>
        <div class="grid_12">
		<p><label>Cep/Código Postal: </label></p>
        <p>
			@Html.TextBoxFor(m => m.Cep, new { id = "tbCep", maxlength = "10" })
            @Html.ValidationMessageFor(m => m.Cep)
		</p>
        </div>
        <div class="grid_6">
		<p><label>Telefone: </label></p>
        <p>
			@Html.TextBoxFor(m => m.Telefone, new { id = "tbTelefone", maxlength = "50" })
            @Html.ValidationMessageFor(m => m.Telefone)
		</p>
        </div>
        <div class="grid_6">
        <p><label>Celular: </label></p>
        <p>
			@Html.TextBoxFor(m => m.Celular, new { id = "tbCelular", maxlength = "50" })
            @Html.ValidationMessageFor(m => m.Celular)
		</p>
		</div>    
        <div class="prefix_2 grid_8">
        <p>@ReCaptcha.GetHtml(theme: "red")</p>
        </div>
        <p>&nbsp;</p>
        <div class=" grid_6">
        <p><input type="submit" value="Enviar" class="button" /></p>
        </div>
	</fieldset>

}

